package com.broadengate.model;

import java.util.Date;

/**
 * Deposit entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Deposit implements java.io.Serializable {

	// Fields

	private Integer id;
	private Currency currency;
	private Card card;
	private Date time;
	private Float amount;

	// Constructors

	/** default constructor */
	public Deposit() {
	}

	/** full constructor */
	public Deposit(Currency currency, Card card, Date time, Float amount) {
		this.currency = currency;
		this.card = card;
		this.time = time;
		this.amount = amount;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Currency getCurrency() {
		return this.currency;
	}

	public void setCurrency(Currency currency) {
		this.currency = currency;
	}

	public Card getCard() {
		return this.card;
	}

	public void setCard(Card card) {
		this.card = card;
	}

	public Date getTime() {
		return this.time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public Float getAmount() {
		return this.amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

}